package com.jeesite.modules.digitalize.entity.dto.system.reviewproces;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author patronli
 * @Description: 更新审核流程
 * @date 2023年09月13日 11:07:55
 */
@Data
public class ReviewprocesUpdateDto {
    @ApiModelProperty("流程id")
    @NotNull
    Long id;
    @ApiModelProperty("流程名字")
    @NotBlank
    private String reviewName;
    @ApiModelProperty("备注 最多100字符")
    private String remarks;
    @ApiModelProperty(value = "项目id", required = true)
    @NotNull
    private String projectId;
    @ApiModelProperty("审核流程详情")
    @NotEmpty
    @JsonProperty(value = "details")
    List<ReviewprocesDetailAddDto> details;
}
